package com.cloudcms.web.mapper.cms;

import com.cloudcms.web.entity.Admin;
import com.cloudcms.web.entity.Archives;
import com.cloudcms.web.entity.Attachments;
import com.cloudcms.web.entity.Types;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
@Mapper
public interface CmsMapper {
    public List<Admin> selectAdmin(Admin record);
    public int insertAdmin(Admin record);
    public int updateAdmin(Admin record);
    public List<Types> selectTypes(Types record);
    public int insertTypes(Types record);
    public int updateTypes(Types record);
    public List<Archives> selectArchives(Archives record);
    public int insertArchives(Archives record);
    public int updateArchives(Archives record);
    public List<Attachments> selectAttachments(Attachments record);
    public int insertAttachments(Attachments record);
    public int deleteAttachments(Attachments record);
}